package com.leo.spring.strategy;

import org.springframework.stereotype.Component;

/**
 * 类描述
 *
 * @author razor.liu
 * @version 1.0
 * @date 2021/11/5 10:13 下午
 */
@Component("one")
public class StrategyOne extends BaseStrategy implements IStrategy{
    @Override
    public String getName() {
        return "one"+getAge();
    }
}
